package com.hdu.dwh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdu.dwh.pojos.source_access_pojos.DataWarehouseTable;
import com.hdu.dwh.vos.TableVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 源数据表表 Mapper 接口
 * </p>
 *
 * @author bobo
 * @since 2025-04-08
 */
@Mapper
public interface DataWarehouseTableMapper extends BaseMapper<DataWarehouseTable> {

    long countStructuredTables(Integer dataType);

    List<TableVo> getTable(Long databaseId, String databaseName, Integer hierarchy);
}
